<template lang="pug">
  kalix-dialog.user-add(title='查看' bizKey="maintainItem" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
    div.el-form(slot="dialogFormSlot")
      el-form-item(label="题干" prop="stem" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.stem" readonly)
      el-form-item(label="评分项" prop="standerItem" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.standerItem" readonly)
      el-form-item(label="总分" prop="itemScore" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.itemScore" readonly)
      el-form-item(label="扣分" prop="itemDeductScore" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.itemDeductScore" readonly)
      el-form-item(label="打分" prop="standerItemScore" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.standerItemScore" readonly)
</template>

<script type="text/ecmascript-6">
  import FormModel from './resultItemModel'

  export default {
    name: 'MaintainItemView',
    data() {
      return {
        formModel: Object.assign({}, FormModel),
        labelWidth: '180px'
      }
    }
  }
</script>

<style scoped lang="stylus" type="text/stylus">
</style>
